#ifndef VLCONTEXTWIDGET_H
#define VLCONTEXTWIDGET_H

#include <QWidget>
#include <QComboBox>
#include <QLabel>
#include <QSpinBox>
#include <QStringList>
#include <QHBoxLayout>
#include <QPushButton>

class VLContextWidget : public QWidget
{
    Q_OBJECT
public:
    explicit VLContextWidget(QWidget *parent = 0);
    
signals:
    
public slots:

protected:
    inline virtual void setDefaults(){}

    QHBoxLayout * setupLayout();
    QComboBox * createAndAddComboBox(QHBoxLayout *tlayout, QStringList *strings);
    QSpinBox * createAndAddSpinBox(QHBoxLayout *tlayout, int min, int max);
    QLabel * createAndAddLabel(QHBoxLayout *tlayout, QString);
    QPushButton * createAndAddButton(QHBoxLayout *tlayout, QString text);
};

#endif // VLCONTEXTWIDGET_H
